Skip to content

Fix blog route matching article header#769

Open
Sheraff wants to merge 6 commits intoTanStack:mainfrom
Sheraff:fix-blog-route-matching-article-header
Open

Fix blog route matching article header#769
Sheraff wants to merge 6 commits intoTanStack:mainfrom
Sheraff:fix-blog-route-matching-article-header

Conversation

@Sheraff
Copy link
Contributor

@Sheraff Sheraff commented Mar 17, 2026

Just adding a header image because with the new layout, the previous one just wasn't nice anymore (wasn't the best before either)

before
Screenshot 2026-03-17 at 20 34 34

after
Screenshot 2026-03-17 at 20 34 44

Summary by CodeRabbit

  • Documentation
    • Updated blog post with image asset changes, including refined image references and added visual content to enhance article presentation.

@netlify
Copy link

netlify bot commented Mar 17, 2026

👷 Deploy request for tanstack pending review.

Visit the deploys page to approve it

Name Link
🔨 Latest commit 6964b7c

@coderabbitai
Copy link

coderabbitai bot commented Mar 17, 2026

📝 Walkthrough

Walkthrough

A blog post markdown file is updated to modify image references: the first image's alt text is renamed from "Big performance number" to "Header," and a new image for big-number.png is added with surrounding spacing.

Changes

Cohort / File(s) Summary
Blog Post Image Updates
src/blog/tanstack-router-route-matching-tree-rewrite.md
Modified alt text for first embedded image from "Big performance number" to "Header" and added new image reference for big-number.png with spacing.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~2 minutes

Poem

🐰 A rabbit's rhyme for images fine,
Alt text renamed, now in a line,
Big numbers bold in frames so bright,
Documentation glows with light!

🚥 Pre-merge checks | ✅ 3
✅ Passed checks (3 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title 'Fix blog route matching article header' directly and clearly summarizes the main change: updating the header image in the route matching blog article.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
📝 Coding Plan
  • Generate coding plan for human review comments

Comment @coderabbitai help to get the list of available commands and usage tips.

@Sheraff Sheraff marked this pull request as ready for review March 17, 2026 19:35
Copy link

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 6964b7c572

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

---

![Big performance number](/blog-assets/tanstack-router-route-matching-tree-rewrite/header.png)
![Header](/blog-assets/tanstack-router-route-matching-tree-rewrite/header.png)

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Reduce hero image payload in route-matching blog post

The new top-of-article image points to header.png, which in this commit is a 3,391,000-byte PNG (public/blog-assets/tanstack-router-route-matching-tree-rewrite/header.png), roughly 100× larger than the previous header asset. Because this image is rendered at the start of the post, every reader pays this transfer cost up front, which will noticeably hurt page load/LCP on slower networks; please resize/compress or switch to a more efficient format before using it as the header.

Useful? React with 👍 / 👎.

Copy link

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Inline comments:
In `@src/blog/tanstack-router-route-matching-tree-rewrite.md`:
- Line 9: The image markdown currently uses a generic alt text "Header" in the
line containing
"![Header](/blog-assets/tanstack-router-route-matching-tree-rewrite/header.png)";
replace that alt text with a meaningful description (e.g., "Fantasy landscape
illustration used as the article header") or make it decorative by using an
empty alt (`![](/blog-assets/.../header.png)`), updating the markdown line
accordingly so screen readers receive either the descriptive text or treat the
image as decorative.

ℹ️ Review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: d5adcc53-e648-4fae-a1ed-ecf8e6cfea9c

📥 Commits

Reviewing files that changed from the base of the PR and between fb4dc25 and 6964b7c.

⛔ Files ignored due to path filters (2)
  • public/blog-assets/tanstack-router-route-matching-tree-rewrite/big-number.png is excluded by !**/*.png
  • public/blog-assets/tanstack-router-route-matching-tree-rewrite/header.png is excluded by !**/*.png
📒 Files selected for processing (1)
  • src/blog/tanstack-router-route-matching-tree-rewrite.md

---

![Big performance number](/blog-assets/tanstack-router-route-matching-tree-rewrite/header.png)
![Header](/blog-assets/tanstack-router-route-matching-tree-rewrite/header.png)
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🟡 Minor

Use meaningful alt text (or empty alt if decorative).

On Line 9, Header is too generic for screen readers. Please either provide descriptive alt text (e.g., “Fantasy landscape illustration used as the article header”) or make it decorative with empty alt text (![](...)).

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@src/blog/tanstack-router-route-matching-tree-rewrite.md` at line 9, The image
markdown currently uses a generic alt text "Header" in the line containing
"![Header](/blog-assets/tanstack-router-route-matching-tree-rewrite/header.png)";
replace that alt text with a meaningful description (e.g., "Fantasy landscape
illustration used as the article header") or make it decorative by using an
empty alt (`![](/blog-assets/.../header.png)`), updating the markdown line
accordingly so screen readers receive either the descriptive text or treat the
image as decorative.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants